AUTOMAKE_OPTIONS = foreign

bin_PROGRAMS = softflowd softflowctl
COMMON = convtime.c strlcpy.c strlcat.c closefrom.c daemon.c
softflowd_SOURCES = softflowd.c log.c netflow1.c netflow5.c netflow9.c ipfix.c freelist.c $(COMMON)
softflowd_CFLAGS = $(CFLAGS) -DFLOW_SPLAY -DEXPIRY_RB $(GLIB_CFLAGS)
softflowd_LDADD = $(GLIB_LIBS)

softflowctl_SOURCES = softflowctl.c $(COMMON)
softflowctl_CFLAGS = $(CFLAGS) -DFLOW_SPLAY -DEXPIRY_RB

man_MANS = softflowd.8 softflowctl.8
